home *** CD-ROM | disk | FTP | other *** search
/ Digitální fotografie a video / Digitalni-fotografie-a-video-covermount.bin / Aplikace / Dv / Kap_2 / Dv_2_5.dxr / 00011_Najezd tabulka.ls < prev    next >
Encoding:
Text File  |  1998-05-19  |  781 b   |  30 lines

  1. on beginSprite me
  2.   set the visible of sprite the spriteNum of me to 1
  3.   set the visible of sprite (the spriteNum of me + 1) to 0
  4.   set the visible of sprite (the spriteNum of me + 2) to 0
  5. end
  6.  
  7. on endSprite me
  8. end
  9.  
  10. on mouseEnter me
  11.   puppetSound(1, "Najezd_otazky")
  12.   set the cursor of sprite the spriteNum of me to [member "ruka_1", member "ruka_2"]
  13.   set the visible of sprite (the spriteNum of me + 1) to 1
  14.   updateStage()
  15. end
  16.  
  17. on mouseLeave me
  18.   set the cursor of sprite the spriteNum of me to -1
  19.   set the visible of sprite (the spriteNum of me + 1) to 0
  20. end
  21.  
  22. on mouseDown me
  23.   global Posledni
  24.   if Posledni > 36 then
  25.     set the visible of sprite Posledni to 0
  26.   end if
  27.   set the visible of sprite (the spriteNum of me + 2) to 1
  28.   set Posledni to the spriteNum of me + 2
  29. end
  30.